using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;
using Sedna.Core.Controller;

namespace Sedna.Core
{
    public class ControlBindingException : SednaException
    {
		public ControlBindingException()
		{
		}

        public ControlBindingException(Control control, Exception exInner)
            : base(String.Format("Exception occured during bind/unbind process. Control: {0}", control is IConfigurationAware ? ((IConfigurationAware)control).Configuration.Id : "empty configuration id"), exInner)
		{
		}
        
    }
}
